#ifndef __RECTIFY_PARAM_H__
#define __RECTIFY_PARAM_H__

#include <stdint.h>
#include <stdbool.h>

/**********************************************************
 * rectify typedef
 */
typedef enum
{
    RECTIFY_PARAM_SINGLE = 0,
    RECTIFY_PARAM_DOUBLE,
}rectifymode_e;

typedef struct {
    float x;
    float y;
} RectifyPoint;

typedef struct
{
	rectifymode_e mode;
	int width;
	int height;
	float distanceBetweenCameras;        /* set 18.0 use default */
    float foucs;                         /* set 410.32 use default */
	unsigned char *left_image;
	unsigned char *right_image;
	int point_num;
	RectifyPoint *left_point;
	RectifyPoint *right_point;
}tsmTRP_Rectify_t;

typedef struct
{
	unsigned short *ir2_depth_Y1;
	unsigned short *ir2_depth_Y2;
	unsigned short *ir2_depth_X1;
	unsigned short *ir2_depth_X2;
	unsigned short *ir2_depth_tab2d;
}algo_rectify_output_t;

/**********************************************************
 * rectify declare
 */
void ipcm_run_get_rectify_param_cb(void *data);

#endif
